README for replication files;
----------------------------
INITIAL DEPOSIT DATE: 01/29/2024
THIS VERSION: 01/29/2024
-----------------------------
ARTICLE: “Public Responses to Unilateral Policymaking”
AUTHOR: Benjamin Goehring and Kenneth Lowande (please report errors to bengoehr@umich.edu, 
-----------------------------
BASE SOFTWARE DEPENDENCIES: macOS 14.2.1 (23C71) and R version 4.3.0
R PACKAGES: arm (1.13-1), lubridate (1.9.2), gridExtra (2.3), ordinal (2022.11-16), stargazer (5.2.3), kableExtra (1.3.4.9000), mfx (1.2-2), xtable (1.8-4), slider (0.3.0), tidyverse (2.0.0), broom (1.0.5), irr (0.84.1), MASS (7.3-58.4) 
-----------------

This directory reproduces the results in "Public Responses to Unilateral Policymaking" in JEPS. 

Input datasets are stored in input-data. All figures and tables are stored in figures-tables. The R files can either be run on their own, or all ran at once via make.R

The file jeps-replication-1.R produces the following figures: 
	- FIG-H1-1.pdf
		- This corresponds to Figure 2 in the paper. 
	- FIG-H1-A-1.pdf
		- This corresponds to Figure A.3 in the SI. 
	- sameparty_f2.pdf
		- This corresponds to Figure A.4 in the SI. 
	- sameparty_f3.pdf
		- This corresponds to Figure A.5 in the SI. 
	- h1-tabular-output.txt
		- This corresponds to Table A.9 in the SI.
	- h1-tabular-output-2.txt
		- This corresponds to Table A.10 in the SI.
	- h1-tabular-output-ordered.txt
		- This corresponds to Table A.11 in the SI.
	- h1-tabular-output-ordered-2.txt
		- This corresponds to Table A.12 in the SI.


The file jeps-replication-2.R produces the following figures: 
	- FIG-H2-1.pdf
		- This corresponds to Figure 3 in the paper. 
	- FIG-H2-A-1.pdf
		- This corresponds to Figure A.6 in the SI. 
	- h2-tabular-output.txt
		- This corresponds to Table A.13 in the SI.
	- h2-tabular-output-2.txt
		- This corresponds to Table A.14 in the SI.
	- h2-tabular-output-ordered.txt
		- This corresponds to Table A.15 in the SI.
	- h2-tabular-output-ordered-2.txt
		- This corresponds to Table A.16 in the SI.


The file jeps-replication-3.R produces the following figures: 
	- FIG-H2-attentive-1.pdf
		- This corresponds to Figure A.2 in the SI.


The file jeps-replication-4.R produces the following table: 
	- dv-conditions.txt
		- This corresponds to Table A.8 in the SI.

The file jeps-replication-5.R produces the following figures and tables: 
	- FIG-POWER-1.pdf
		- This corresponds to Figure A.1 in the SI.
	- cov-balance-wave-1.txt
		- This corresponds to Table A.3 in the SI.
	- cov-balance-wave-2.txt
		- This corresponds to Table A.4 in the SI.
	- correlates-recontact.txt
		- This corresponds to Table A.5 in the SI.
	- attentive-respondents.txt
		- This corresponds to Table A.6 in the SI.
	- attentive-correlates.txt
		- This corresponds to Table A.7 in the SI. 




